package com.member.shop.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.member.shop.domain.SysBizOftenBuy;

/**
 * 常买清单Service接口
 *
 * @author lixinchen
 * @date 2025-01-11
 */
public interface ISysBizOftenBuyService extends IService<SysBizOftenBuy> {
    /**
     * 查询常买清单
     *
     * @param id 常买清单主键
     * @return 常买清单
     */
    public SysBizOftenBuy selectSysBizOftenBuyById(Long id);

    /**
     * 查询常买清单列表
     *
     * @param queryWrapper 常买清单
     * @return 常买清单集合
     */
    public List<SysBizOftenBuy> selectSysBizOftenBuyList(LambdaQueryWrapper<SysBizOftenBuy> queryWrapper);

    /**
     * 查询常买清单列表
     *
     * @param sysBizOftenBuy 常买清单
     * @return 常买清单集合
     */
    public List<SysBizOftenBuy> selectSysBizOftenBuyList(SysBizOftenBuy sysBizOftenBuy);

    /**
     * 新增常买清单
     *
     * @param sysBizOftenBuy 常买清单
     * @return 结果
     */
    public int insertSysBizOftenBuy(SysBizOftenBuy sysBizOftenBuy);

    /**
     * 修改常买清单
     *
     * @param sysBizOftenBuy 常买清单
     * @return 结果
     */
    public int updateSysBizOftenBuy(SysBizOftenBuy sysBizOftenBuy);

    /**
     * 批量删除常买清单
     *
     * @param ids 需要删除的常买清单主键集合
     * @return 结果
     */
    public int deleteSysBizOftenBuyByIds(Long[] ids);

    /**
     * 删除常买清单信息
     *
     * @param id 常买清单主键
     * @return 结果
     */
    public int deleteSysBizOftenBuyById(Long id);
}